import { testurl } from '../assets/js/service.config.js';

export default {
    posturl(){
        return $.ajax({
            type: "post",
            dataType: "json",
            url: `${testurl}/auth/api/auth/login`,
            headers: {'subSystemCode':'resource_repast'},
            data: {
                loginName: '17629013371',
                loginPass: 'aab1966bd547a6f54218a05f7b3650b1',
                type: 2
            },
            success: function (data) {
                console.log(data);
            },
            complete:function(data){
                console.log(data);
            }
        });
    }
}